package uk.ac.lkl.common.allocator.event;



import java.util.EventListener;


/**
 * A listener to allocators.
 * 
 * @param O
 *            the type of the allocated object
 * 
 * @author Darren Pearce
 * @version $Revision: 355 $
 * @version $Date: 2007-10-30 15:52:29 +0000 (Tue, 30 Oct 2007) $
 * 
 */
public interface AllocatorListener<O> extends EventListener {

    /**
     * Called when an allocation has changed.
     * 
     * @param e
     *            the allocator event
     * 
     */
    public void allocationChanged(AllocatorEvent<O> e);

}
